package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 擅长领域中间业务对象 p_common_good
 *
 * @author ruoyi
 * @date 2022-07-21
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("擅长领域中间业务对象")
public class PCommonGoodBo extends BaseEntity {

    /**
     * 咨询类型id
     */
    @ApiModelProperty(value = "咨询类型id", required = true)
    @NotNull(message = "咨询类型id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long askId;

    /**
     * 专家简历id
     */
    @ApiModelProperty(value = "专家简历id", required = true)
    @NotNull(message = "专家简历id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;


}
